<div class="container">
    <?php echo validation_errors("<div class='alert alert-danger'>", "</div>"); ?>
    
    <form class="form-horizontal" method="post">
        
        <div class="control-group">
            <label class="control-label">Usuario</label>
            <div class="controls">
                <?=$usuario['usuario']?>
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Nombre</label>
            <div class="controls">
                <input id="nombre" name="nombre" type="text" class="input-block-level span2" value="<?=$usuario['nombre']?>">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Apellido</label>
            <div class="controls">
                <input name="apellido" type="text" class="input-block-level span2" value="<?=$usuario['apellido']?>">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Correo</label>
            <div class="controls">
                <input name="correo" type="text" class="input-block-level span3" value="<?=$usuario['correo']?>">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Password</label>
            <div class="controls">
                <input name="password1" type="password" class="input-block-level span2">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label">Reescribir Password</label>
            <div class="controls">
                <input name="password2" type="password" class="input-block-level span2">
            </div>
        </div>
        
        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" class="btn btn-primary">Modificar</button>
            </div>
        </div>
        
    </form>
</div>

<script type="text/javascript">
    $(document).ready(function() {
        $("#nombre").focus();
    });
</script>